<div data-role="page">

  <div data-role="header" data-position="inline">
    <h1>New <%= @qadetail.title %></h1>
    <a href="<%= url_for :action => :index %>" class="ui-btn-left" data-icon="back" data-direction="reverse">
      Cancel
    </a>
  </div>

  <div data-role="content">
    <form method="POST" action="<%= url_for :action => :create %>">
      <input type="hidden" name="id" value="<%= @qadetail.object %>"/>

      
          <div data-role="fieldcontain">
            <label for="qadetail[to]" class="fieldLabel">To</label>
            <input type="text" id="qadetail[to]" name="qadetail[to]" <%= placeholder("To") %> />
          </div>
      
          <div data-role="fieldcontain">
            <label for="qadetail[user_id]" class="fieldLabel">User</label>
            <input type="text" id="qadetail[user_id]" name="qadetail[user_id]" <%= placeholder("User") %> />
          </div>
      
          <div data-role="fieldcontain">
            <label for="qadetail[content]" class="fieldLabel">Content</label>
            <input type="text" id="qadetail[content]" name="qadetail[content]" <%= placeholder("Content") %> />
          </div>
      
          <div data-role="fieldcontain">
            <label for="qadetail[created_at]" class="fieldLabel">Created at</label>
            <input type="text" id="qadetail[created_at]" name="qadetail[created_at]" <%= placeholder("Created at") %> />
          </div>
      
          <div data-role="fieldcontain">
            <label for="qadetail[status]" class="fieldLabel">Status</label>
            <input type="text" id="qadetail[status]" name="qadetail[status]" <%= placeholder("Status") %> />
          </div>
      
          <div data-role="fieldcontain">
            <label for="qadetail[question_id]" class="fieldLabel">Question</label>
            <input type="text" id="qadetail[question_id]" name="qadetail[question_id]" <%= placeholder("Question") %> />
          </div>
      

      <input type="submit" value="Create"/>
    </form>
  </div>

</div>
